package day1205_4;

public class Teacher {
    private String name;

    public String getName() {//获取变量值
        return name;
    }

    public void setName(String name) {//赋值
        this.name = name;
    }
}

